﻿/*
Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/

CKEDITOR.editorConfig = function( config )
{
	// config.uiColor = '#AADC6E';
	config.language = 'zh-cn'; //配置语言
	//config.uiColor = '#FFF'; //背景颜色
	config.width = 740; //宽度
	config.height = 400; //高度
	config.skin='kama';
	//工具栏
	config.toolbar =
	[
		['Font','FontSize','Bold','Italic','Underline','TextColor','BGColor','Outdent','Indent','Undo','Redo'],
		['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
		['Link','Unlink','Image','Flash','Smiley','Source'],
	];
	config.filebrowserBrowseUrl = '/js/ckfinder/ckfinder.html',
	config.filebrowserImageBrowseUrl = '/js/ckfinder/ckfinder.html?Type=Images',
	config.filebrowserFlashBrowseUrl = '/js/ckfinder/ckfinder.html?Type=Flash',
	config.filebrowserUploadUrl = '/js/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files',
	config.filebrowserImageUploadUrl = '/js/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images',
	config.filebrowserFlashUploadUrl = '/js/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash'
};